package com.schoolET.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: lin
 * @className: WechatInquireVO
 * @createTime: 2024-06-04  15:10
 * @description: 微信用户查询VO
 */
@Data
@ApiModel(value = "WechatInquireVO对象", description = "微信用户查询")
public class WechatInquireVO {

    @ApiModelProperty("区域信息")
    private String position;

    @ApiModelProperty("微信用户昵称")
    private String nickName;

    @ApiModelProperty("页数")
    private Integer pageNum;

    @ApiModelProperty("每页条数")
    private Integer pageSize;

    public Integer getPageNum() {
        return (this.pageNum == null || this.pageNum < 1) ? this.pageNum = 1 : this.pageNum;
    }

    public Integer getPageSize() {
        return (this.pageSize == null || this.pageSize < 1) ? 5 : this.pageSize;
    }

}
